home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / usr / lib / openoffice / program / unoinfo < prev    next >
Encoding:
Text File  |  2012-10-08  |  1.8 KB  |  57 lines

  1. #!/bin/sh
  2. #*************************************************************************
  3. #
  4. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  5. #
  6. # Copyright 2000, 2010 Oracle and/or its affiliates.
  7. #
  8. # OpenOffice.org - a multi-platform office productivity suite
  9. #
  10. # This file is part of OpenOffice.org.
  11. #
  12. # OpenOffice.org is free software: you can redistribute it and/or modify
  13. # it under the terms of the GNU Lesser General Public License version 3
  14. # only, as published by the Free Software Foundation.
  15. #
  16. # OpenOffice.org is distributed in the hope that it will be useful,
  17. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  18. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  19. # GNU Lesser General Public License version 3 for more details
  20. # (a copy is included in the LICENSE file that accompanied this code).
  21. #
  22. # You should have received a copy of the GNU Lesser General Public License
  23. # version 3 along with OpenOffice.org.  If not, see
  24. # <http://www.openoffice.org/license.html>
  25. # for a copy of the LGPLv3 License.
  26. #
  27. #*************************************************************************
  28.  
  29. set -e
  30.  
  31. # resolve installation directory
  32. if [ -h "$0" ] ; then
  33.     sd_basename=`basename "$0"`
  34.     sd_script=`ls -l "$0" | sed "s/.*${sd_basename} -> //g"`
  35.     cd "`dirname "$0"`"
  36.     cd "`dirname "$sd_script"`"
  37. else
  38.     cd "`dirname "$0"`"
  39. fi
  40. sd_prog=`pwd`
  41.  
  42. case $1 in
  43. c++)
  44.     printf '%s' "$sd_prog/../basis-link/ure-link/lib"
  45.     ;;
  46. java)
  47.     printf '0%s\0%s\0%s\0%s\0%s' \
  48.         "$sd_prog/../basis-link/ure-link/share/java/ridl.jar" \
  49.         "$sd_prog/../basis-link/ure-link/share/java/jurt.jar" \
  50.         "$sd_prog/../basis-link/ure-link/share/java/juh.jar" \
  51.         "$sd_prog/../basis-link/program/classes/unoil.jar" "$sd_prog"
  52.     ;;
  53. *)
  54.     exit 1
  55.     ;;
  56. esac
  57.